FROM java:8
ENV ARTIFACTID lottery_activity
ENV ARTIFACTVERSION 0.0.1-SNAPSHOT
ENV HOME_PATH /home
WORKDIR $HOME_PATH
ADD $ARTIFACTID-$ARTIFACTVERSION.jar $HOME_PATH/$ARTIFACTID.jar
ENTRYPOINT ["java", "-jar", "lottery_activity.jar"]